var delta = argument0;
with(objPlayer)
{
    stamina += delta;
    if(stamina > maxStamina)
        stamina = maxStamina;
    if(stamina < 0)
        stamina = 0;
}
